<h3>
Sistemde bulunan beceriler 
</h3>

<table width="100%">
<?php 
$anaKategoriler = Araclar::anaKategoriDiziGetir();
foreach ($anaKategoriler as $id => $anaKategori) {
	echo "<tr bgcolor='#3399FF'>";
	echo "<td>";
	echo $anaKategori;
	echo "</td></tr>";
	for($i=0;$i<count($modelKategori);$i++){
		if($modelKategori[$i]->ana_kategori_id == $id){
			echo "<tr bgcolor='#33CCFF'>";
			echo "<td>";
			echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
			echo $modelKategori[$i]->kategori_adi;
			echo "</td></tr>";
			for($k=0;$k<count($rows);$k++){
				if($rows[$k]['id'] == $modelKategori[$i]->id){
					echo "<tr bgcolor='#DDDDDD'>";
					echo "<td>";
					echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
					echo $rows[$k]['beceri_adi'];
					echo "</td></tr>";
				} 
			}
		}
	}		
}
?>
</table>